﻿namespace AgentJohnson.DocumentThrownExceptions
{
  using JetBrains.ReSharper.Daemon;
  using Resharper.Abstractions.CodeDom.Statements.ThrowStatements;
  using Resharper.Abstractions.Daemons;

  /// <summary>Defines the <see cref="DocumentThrownExceptionHighlight"/> class.</summary>
  [StaticSeverityHighlighting(Severity.WARNING, "Agent Johnson")]
  public class DocumentThrownExceptionHighlight : HighlightBase
  {
    #region Constructors and Destructors

    /// <summary>Initializes a new instance of the <see cref="DocumentThrownExceptionHighlight"/> class.</summary>
    public DocumentThrownExceptionHighlight()
    {
      this.ToolTip = "Thrown exception should be documented [Agent Johnson]";
    }

    #endregion

    #region Properties

    /// <summary>
    /// Gets or sets the throw statement.
    /// </summary>
    /// <value>The throw statement.</value>
    public ThrowStatement ThrowStatement { get; set; }

    #endregion
  }
}